package com.yw.common.core.entity;

/**
 * 键值对
 * @author aoshiguchen
 * @time 2015-08-31
 */

public class KeyValue<K,V> implements IKeyValue<K, V>{
	
	protected K k;
	protected V v;
	
	public KeyValue(){

	}
	
	public KeyValue(K k,V v){
		this.k = k;
		this.v = v;
	}

	public K getK() {
		return k;
	}

	public void setK(K k) {
		this.k = k;
	}

	public V getV() {
		return v;
	}

	public void setV(V v) {
		this.v = v;
	}

	@Override
	public String toString() {
		return "KeyValue [key=" + k + ", value=" + v + "]";
	}

}
